Carbon


nullEvent

Header: Events.h

enum {
    nullEvent = 0,
    mouseDown = 1,
    mouseUp = 2,
    keyDown = 3,
    keyUp = 4,
    autoKey = 5,
    updateEvt = 6,
    diskEvt = 7,
    activateEvt = 8,
    osEvt = 15,
    kHighLevelEvent = 23
};

Constant descriptions

nullEvent

The event code indicating that there are no other pending events.

mouseDown

The event code indicating that the mouse button has been pressed.

mouseUp

The event code indicating that the mouse button has been released.

keyDown

The event code indicating that a key has been pressed.

keyUp

The event code indicating that a key has been released.

autoKey

The event code indicating that a key has been repeatedly held down.

updateEvt

The event code indicating that a window needs updating.

diskEvt

The event code indicating that a disk has been inserted.

activateEvt

The event code indicating that a window has been activated or deactivated.

osEvt

The event code indicating a suspend, resume, or mouse-moved operating-system event.

kHighLevelEvent

A high-level event.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)